package com.ruoyi.order.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预约借阅订单对象 book_reservation_order
 * 
 * @author ruoyi
 * @date 2024-10-28
 */
public class BookReservationOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long orderId;

    /** 类号 */
    @Excel(name = "类号")
    private Long categoryId;

    /** 图书编号 */
    @Excel(name = "图书编号")
    private Long bookId;

    /** 读者编号 */
    @Excel(name = "读者编号")
    private Long readerId;

    /** 预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderTime;

    /** 预约起始时间 */
    private Date orderBeginTime;

    /** 预约结束时间 */
    private Date orderFinishTime;

    /** 是否出库 */
    @Excel(name = "是否出库")
    private Integer orderIsout;

    /** 出库时间 */
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    @Excel(name = "出库时间", width = 30, dateFormat = "yyyy/MM/dd HH:mm")
    private Date orderOuttime;

    /** 管理员 */
    @Excel(name = "管理员")
    private Integer orderIsin;

    /** 是否入库 */
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    @Excel(name = "是否入库", width = 30, dateFormat = "yyyy/MM/dd HH:mm")
    private Date orderIntime;

    /** 入库时间 */
    @Excel(name = "入库时间")
    private Long orderInManager;

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }
    public void setBookId(Long bookId) 
    {
        this.bookId = bookId;
    }

    public Long getBookId() 
    {
        return bookId;
    }
    public void setReaderId(Long readerId) 
    {
        this.readerId = readerId;
    }

    public Long getReaderId() 
    {
        return readerId;
    }
    public void setOrderTime(Date orderTime) 
    {
        this.orderTime = orderTime;
    }

    public Date getOrderTime() 
    {
        return orderTime;
    }
    public void setOrderBeginTime(Date orderBeginTime) 
    {
        this.orderBeginTime = orderBeginTime;
    }

    public Date getOrderBeginTime() 
    {
        return orderBeginTime;
    }
    public void setOrderFinishTime(Date orderFinishTime) 
    {
        this.orderFinishTime = orderFinishTime;
    }

    public Date getOrderFinishTime() 
    {
        return orderFinishTime;
    }
    public void setOrderIsout(Integer orderIsout) 
    {
        this.orderIsout = orderIsout;
    }

    public Integer getOrderIsout() 
    {
        return orderIsout;
    }
    public void setOrderOuttime(Date orderOuttime) 
    {
        this.orderOuttime = orderOuttime;
    }

    public Date getOrderOuttime() 
    {
        return orderOuttime;
    }
    public void setOrderIsin(Integer orderIsin) 
    {
        this.orderIsin = orderIsin;
    }

    public Integer getOrderIsin() 
    {
        return orderIsin;
    }
    public void setOrderIntime(Date orderIntime) 
    {
        this.orderIntime = orderIntime;
    }

    public Date getOrderIntime() 
    {
        return orderIntime;
    }
    public void setOrderInManager(Long orderInManager) 
    {
        this.orderInManager = orderInManager;
    }

    public Long getOrderInManager() 
    {
        return orderInManager;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("categoryId", getCategoryId())
            .append("bookId", getBookId())
            .append("readerId", getReaderId())
            .append("orderTime", getOrderTime())
            .append("orderBeginTime", getOrderBeginTime())
            .append("orderFinishTime", getOrderFinishTime())
            .append("orderIsout", getOrderIsout())
            .append("orderOuttime", getOrderOuttime())
            .append("orderIsin", getOrderIsin())
            .append("orderIntime", getOrderIntime())
            .append("orderInManager", getOrderInManager())
            .toString();
    }
}
